home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
sail.tar
/
sail
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-10-09
|
1KB
|
41 lines
#
# Copyright (c) 1987 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
# @(#)Makefile 5.6 (Berkeley) 3/9/88
#
CFLAGS= -O
LIBS= -lcurses -ltermcap
SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
dr_main.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c lo_main.c \
assorted.c game.c globals.c misc.c parties.c sync.c version.c
OBJS= main.o pl_main.o pl_1.o pl_2.o pl_3.o pl_4.o pl_5.o pl_6.o pl_7.o \
dr_main.o dr_1.o dr_2.o dr_3.o dr_4.o dr_5.o lo_main.o \
assorted.o game.o globals.o misc.o parties.o sync.o version.o
all: sail
sail: ${OBJS}
${CC} -o $@ ${OBJS} ${LIBS}
clean: rm -f ${OBJS} core sail
depend: mkdep ${CFLAGS} ${SRCS}
install:
install -c -o games -g bin -m 600 /dev/null ${DESTDIR}/usr/games/lib/saillog
install -s -o games -g bin -m 4700 sail ${DESTDIR}/usr/games/hide
(cd ${DESTDIR}/usr/games; rm -f sail; ln -s dm sail; chown games.bin sail)
lint: lint ${CFLAGS} ${SRCS}
tags: ctags ${SRCS}